/**
 * Created by stylewolf on 2016/1/27.
 * 用于生成国际化信息
 */
(function($){
    "use strict";
    $.local = {
        name 				: "业务风险管控平台",
        copyright 			: "石家庄市移动 &copy; 2016",
        login				: "登录",
        logout				: "退出系统",
        main 				: "工作区",
        setting 			: "设置",
        profile 			: "个人中心",
        seeAll 				: "查看所有",
        notifications 		: "提醒",
        waiting 			: "待办事项",
        messages 			: "消息",
        search 				: "查询",
        index 				: "首页",
        welcome 			: "欢迎您"
    };
    $(function(){
    	document.title = $.local.name;
    
    	$("#copyright").html($.local.copyright);
    	$("#left-name").html($.local.name);
    	$("#dashboard").html($.local.main);
    	$("#b-dashboard").html($.local.main);
    	$("#b-home").html($.local.index);
    	$("#logout").html($.local.logout);
    	$("#settings").html($.local.setting);
    	$("#profile").html($.local.profile);
    	
    	$("#messages").html($.local.messages);
    	$("#messages-all").html($.local.seeAll+$.local.messages);
    	$("#notifications").html($.local.notifications);
    	$("#notifications-all").html($.local.seeAll+$.local.notifications);
    	$("#waiting").html($.local.waiting);
    	$("#waiting-all").html($.local.seeAll+$.local.waiting);
    });
})(jQuery);